﻿using STF.Blog.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STF.Blog.IService
{
    /// <summary>
    /// 粉丝表
    /// </summary>
    public interface IFansService
    {
        public Task<int> AddFansAsync(int cid, int mid);
        public Task<int> PutTrashAsync(int id);
        public Task<int> RestoreAsync(int id);
        public Task<int> DeleteFansAsync(int id);
        public Task<List<FansDto>> GetAllFansAsync(int deleteId = 1);
        public Task<FansDto> GetByIdAsync(int id);

    }
}
